{extends file="../acp.html"}

{block name="title"}{$head_title}{/block}
{block name="content"}
<div class="t-a-wait-con">
    <div class="tablesWrap"> 
    	<div class="tables-searchbox">
            <div class="t-a-wait-top">
                <form action="" method="post" id="rank_waiting">
                <div class="t-a-wait-top-li"><span>会员名称：</span><input type="text" placeholder="" value="{$nickname}" class="small" name="nickname"> </div>
                <div class="t-a-wait-top-li">
					<div class="t-a-wait-top-li">
						<select class="small" id="change_type" name="change_type">  
							<option value="0">--选择变动类型--</option>  
							{foreach from=$change_type_list key=key item=row}
								<option value="{$key}" {if $key == $change_type}selected{/if}>{$row}</option>  
							{/foreach}
						</select> 
						<span class="fi-help-text"></span>
					</div>
				</div>

                <div class="t-a-wait-top-li" style="width:400px;">
                    <div class="formitems inline">  
                        <label class="fi-name" style="width:70px; font-weight:normal;">添加时间：</label>  
                        <div class="form-controls" style="margin-left:80px;">  
				            <input type="text" style="width:120px;" autocomplete="off" class="Wdate" name="start_time" value="{if $start_time}{date('Y-m-d',$start_time)}{/if}" onclick="WdatePicker({ dateFmt:'yyyy-MM-dd'})">  

                            <span class="fi-text">-</span>  
                            
                            <input type="text" style="width:120px;" autocomplete="off" class="Wdate" name="end_time" value="{if $end_time}{date('Y-m-d',$end_time)}{/if}" onclick="WdatePicker({ dateFmt:'yyyy-MM-dd'})">  
                        </div>  
                    </div> 
                </div>

                <div class="t-a-wait-top-li" style=""><input type="hidden" name="submit" value="search" /><button class="btn"><i class="gicon-search"></i>搜索</button> </div>
              </form>
            </div>        
        </div> 
        <table class="wxtables">  
            <colgroup>  
            <!-- <col width="5%">  -->
            <col width="15%">
            <col width="15%"> 
            <col width="15%">
            <col width="15%">
            <col width="15%">  
            <col width="15%">  
            <col width="10%">
            </colgroup>  
            <thead>  
                <tr>  
                    <!-- <td>选择</td>   -->
                    <td>操作类型</td>  
                    <td>会员(加盟商)</td>  
                    <td>操作积分数</td>  
                    <td>操作前积分</td>  
                    <td>操作后积分</td>  
                    <td>添加时间</td>  
                    <td>操作</td>  
                </tr>  
            </thead>  
            <tbody>
				{foreach from=$integral_list item=integral}
                <tr>
                    <!-- <td><input type="checkbox" class="checkbox" value='{$integral.integral_id}' name="a[]"></td>  -->
                    <td>{$integral.remark}</td>  
                    <td>{$integral.username}</td>  
                    <td>{$integral.integral}</td>
                    <td>{$integral.start_integral}</td>
                    <td>{$integral.end_integral}</td>
                    <td>{$integral.addtime|date_format:"%Y-%m-%d %H:%M:%S"}</td>
                    <td>
						<a href="/AcpUser/user_detail/user_id/{$integral.user_id}" class="btn" title="查看会员详情">会员详情</a>   
                    </td>
                </tr>
                {foreachelse}
					<tr><td colspan="11">没有符合条件的会员</td></tr>
                {/foreach}
            </tbody>
        </table>
        <!-- end wxtables -->  
        <div class="tables-btmctrl clearfix">  
            <div class="fl">  
            </div> 
            <div class="fr">  
                <div class="paginate">  
                    {$show}
                </div>  
                <!-- end paginate -->  
            </div>  
        </div>  
        <!-- end tables-btmctrl -->  
    </div>  
    <!-- end tablesWrap --> 
</div>
{/block} 

{block name="js"}
<script src="/Public/Plugins/My97DatePicker/WdatePicker.js?version={$version}"></script>
{/block} 

{block name="css"}
<link rel="stylesheet" href="/Public/Css/acp/AcpUser/audit_waiting.css" type="text/css" />
{/block}
